import 'package:example/pages/static_list_page.dart';
import 'package:flutter/material.dart';

class ListPage extends StatelessWidget {
  static const String routeName = '/list';
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text('List'),
      ),
      body: Center(
        child: Column(
          children: <Widget>[
            SizedBox(height: 15),
            Container(
              width: 200,
              child: RaisedButton(
                child: Text('Static List'),
                onPressed: () {
                  Navigator.pushNamed(context, StaticListViewPage.routeName);
                },
              ),
            ),
          ],
        ),
      ),
    );
  }
  
}